class MaintenancePlanListBean {
  List<MaintenancePlanBean> list;
  int total;

  MaintenancePlanListBean({this.list, this.total});

  MaintenancePlanListBean.fromJson(Map<String, dynamic> json) {
    if (json['list'] != null) {
      list = <MaintenancePlanBean>[];
      json['list']
          .forEach((v) => list.add(new MaintenancePlanBean.fromJson(v)));
    }
    total = json['total'];
  }
}

class MaintenancePlanBean {
  String buildingNo;
  String createBy;
  String createTime;
  String elevatorId;
  String id;
  String maintainer;
  String maintainerPhone;
  String maintenancePlanDate;
  String shaft;
  int status;
  String unitNo;
  String updateBy;
  String updateTime;
  String villageName;

  MaintenancePlanBean(
      {this.buildingNo,
      this.createBy,
      this.createTime,
      this.elevatorId,
      this.id,
      this.maintainer,
      this.maintainerPhone,
      this.maintenancePlanDate,
      this.shaft,
      this.status,
      this.unitNo,
      this.updateBy,
      this.updateTime,
      this.villageName});

  MaintenancePlanBean.fromJson(Map<String, dynamic> json) {
    buildingNo = json['buildingNo'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    elevatorId = json['elevatorId'];
    id = json['id'];
    maintainer = json['maintainer'];
    maintainerPhone = json['maintainerPhone'];
    maintenancePlanDate = json['maintenancePlanDate'];
    shaft = json['shaft'];
    status = json['status'];
    unitNo = json['unitNo'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    villageName = json['villageName'];
  }
}
